﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LeHouse.Server.WebApi.Common
{
    public class WordsTemp
    {
        /// <summary>
        /// 标签
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 单个文字内容或者图片内容
        /// </summary>
        public string Value { get; set; }

        private FileFormat _Type = FileFormat.String;
        public FileFormat Type
        {
            get
            {
                return _Type;
            }
            set
            {
                _Type = value;
            }
        }
        //private List<string> _AllValue = new List<string>();
        ///// <summary>
        ///// 多个文字内容或者图片内容
        ///// </summary>
        //public List<string> AllValue
        //{
        //    set {
        //        _AllValue = value;
        //    }
        //    get
        //    {

        //        return _AllValue;
        //    }
        //}
    }
    public enum FileFormat
    {
        /// <summary>
        /// 文字
        /// </summary>
        String,
        /// <summary>
        /// 图片
        /// </summary>
        Image
    }
}